package nz.co.doherty.gwtpbreadcrumbs.shared.entity;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Entity;

@Entity
public class Customer implements Serializable {

	private static final long serialVersionUID = 8500812000738245519L;

	@Id
	private Long id;

	private String firstName;
	private String lastName;

	private Customer() {}

	public Customer(String firstName, String lastName) {
		this.setFirstName(firstName);
		this.setLastName(lastName);
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getFirstName() {
		return firstName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getLastName() {
		return lastName;
	}
	
	public Long getId() {
		return id;
	}

}
